//
//  MGRequestService.h
//  MortgageHelper
//
//  Created by zhangxiang on 16/8/8.
//  Copyright © 2016年 zhangxiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "MGUserInfoModel.h"
#import "MGConstFile.h"

# define RequestService [MGRequestService sharedAPI]



typedef void (^FailureResponseBlock)(NSError *error);       // 错误信息回调
typedef void (^SuccessResponseBlock)(id responseObject);    // 原始数据回调

@interface MGRequestService : NSObject
+ (MGRequestService *)sharedAPI;

+ (void)configeWithuserInfo:(MGUserInfoModel *)userInfo;  //userInfo 暂时不用该参数

@end

